package com.bestow.loan.mapper;

import java.util.List;
import com.bestow.loan.domain.InvPurchaseRollOut;

/**
 * 申购账户信息Mapper接口
 * 
 * @author liliu
 * @date 2022-09-15
 */
public interface InvPurchaseRollOutMapper 
{
    /**
     * 查询申购账户信息
     * 
     * @param purchaseRollOutId 申购账户信息主键
     * @return 申购账户信息
     */
    public InvPurchaseRollOut selectInvPurchaseRollOutByPurchaseRollOutId(Long purchaseRollOutId);

    /**
     * 查询申购账户信息列表
     * 
     * @param invPurchaseRollOut 申购账户信息
     * @return 申购账户信息集合
     */
    public List<InvPurchaseRollOut> selectInvPurchaseRollOutList(InvPurchaseRollOut invPurchaseRollOut);

    /**
     * 新增申购账户信息
     * 
     * @param invPurchaseRollOut 申购账户信息
     * @return 结果
     */
    public int insertInvPurchaseRollOut(InvPurchaseRollOut invPurchaseRollOut);

    /**
     * 修改申购账户信息
     * 
     * @param invPurchaseRollOut 申购账户信息
     * @return 结果
     */
    public int updateInvPurchaseRollOut(InvPurchaseRollOut invPurchaseRollOut);

    /**
     * 删除申购账户信息
     * 
     * @param purchaseRollOutId 申购账户信息主键
     * @return 结果
     */
    public int deleteInvPurchaseRollOutByPurchaseRollOutId(Long purchaseRollOutId);

    /**
     * 批量删除申购账户信息
     * 
     * @param purchaseRollOutIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteInvPurchaseRollOutByPurchaseRollOutIds(Long[] purchaseRollOutIds);

    /**
     * 批量新增申购账户信息
     *
     * @param invPurchaseRollOutList 申购账户信息列表
     * @return 结果
     */
    public int batchInvPurchaseRollOut(List<InvPurchaseRollOut> invPurchaseRollOutList);
}
